IsSameAs Method (AddressEntry Object) 

The IsSameAs method returns True if this AddressEntry object is the same as the AddressEntry object being compared against.

Syntax

objAddressEntry.IsSameAs(objAddrEntry2)

Parameters

objAddressEntry

Required. This AddressEntry object.

objAddrEntry2

Required. The AddressEntry object being compared against.

 

Remarks

Two AddressEntry objects are considered to be the same if and only if they are instantiations of the same physical (persistent) object. Two objects with the same value are still considered different if they do not instantiate the same physical object, for example if one is a copy of the other. In such a case IsSameAs returns False.

The IsSameAs method ultimately calls one of the MAPI CompareEntryIDs methods to determine if two objects are the same. A generic comparison of any two object identifiers is also available with the Session object s CompareIDs.OGP7E method.